package dk.flashnotes.fff {
	import dk.flashnotes.fff.page.DefaultPage;
	import dk.flashnotes.fff.page.part.DefaultPart;
	import dk.flashnotes.fff.tree.TreeControl;
	import dk.flashnotes.fff.tree.TreeNode;		

	/**
	 * @author jk
	 */
	public class ElementFactory {
		
		public function ElementFactory() {
		}
			
		public function get_oTreeNode(xmlSubNodes : XML, oTreeControl : TreeControl, oParentNode : TreeNode= null) : TreeNode {
			return new TreeNode(xmlSubNodes, oTreeControl, oParentNode);		}
		public function get_cDefaultPageType() : Class {
			return DefaultPage;
		}
		
		public function get_cDefaultPartType() : Class {
			return DefaultPart;
		}
	}
}
